home *** CD-ROM | disk | FTP | other *** search
/ MacFormat España 21 / macformat_21.iso / Recursos / MacFormat CD Index / Disk Wizard / Documentation v2.0 < prev    next >
Text File  |  1995-03-11  |  29KB  |  290 lines

  1. Disk Wizard Docs
  2. Version 2.0
  3.  
  4. Disk Wizard is Copyright ©1994, 1995 by François Pottier.
  5. Internet: pottier@kagi.com
  6.           or pottier@dmi.ens.fr
  7.   
  8. Disk Wizard is $10 shareware. See file "How to register" for details on how to register.
  9.  
  10. This document contains style information and should be opened with SimpleText. If the title "Disk Wizard Docs" isn't big and blue, your text reader sucks.
  11.  
  12. Before you start reading, remember : if there is anything you don't like about Disk Wizard, don't just throw it away - tell me. I'm open to all suggestions, and my programs will definitely benefit from your feedback!
  13.  
  14. Contents
  15. • What is Disk Wizard?
  16. • Let's baash the competition!
  17. • Installation
  18. • Automatic cataloguing
  19. • Using Disk Wizard
  20.   - Window interface
  21.   - Keyboard shortcuts
  22.   - Menus
  23.   - More about fetching files
  24.   - Scanning disks from the Disk Wizard application
  25.   - Searching
  26.   - Searching for duplicates
  27.   - Preferences
  28.   - Statistics window
  29. • Disclaimer
  30. • Distribution
  31. • Version History
  32. • Planned improvements
  33. • Acknowledgments
  34. • Appendix: regular expression syntax
  35.  
  36. What is Disk Wizard?
  37.   Disk Wizard is an advanced disk cataloging program. It is made up of two components: a system extension (Wizard INIT) and an application (Disk Wizard). Once it is installed, Disk Wizard automatically catalogs the contents of your volumes (hard disks, floppies, CDs, SyQuests, whatever). Thus, Disk Wizard's catalog is always up-to-date, without your needing to do any scanning chores. Disk Wizard will even see through StuffIt 3.0 or Compact Pro archives if you wish.
  38.   At any time, you can launch the Disk Wizard application. In seconds, it will answer questions such as "Where did I put file X?" or "On what floppy can I store this 300K file?". It will let you copy files from your backup media simply by dragging them from Disk Wizard to the Finder (if you have System 7.5). It will also expand StuffIt archives on the fly (if you have Aladdin's StuffIt™ Engine). It will look for duplicate files on your disks. And much more!
  39.   Disk Wizard is now accelerated for Power Macintosh. It's the fastest file searching tool around!
  40.  
  41. Let's bash the competition!
  42.   Here's a quick list of the other disk catalogers I have tried, and why I think Disk Wizard is better. Let me know if I am wrong.
  43.  
  44.   - PowerScan: it has a very, very neat interface (hi Jonas!) but it doesn't even remember which files were on which volumes, so it isn't suitable to maintain a disk library.
  45.   - VirtualDisk and AutoCat: they can catalog disks automatically like Disk Wizard. That's cool. However, they create Finder aliases to all your files. This means that some things can't be done (like looking for duplicates, or expanding archives on the fly). Also, the catalog data on your hard disk takes much more room (even though VirtualDisk uses a virtual volume). Try cataloging 200,000 files with them.
  46.   - CatFinder and Offline: the interface is acceptable, but cataloging isn't automatic.
  47.   - FileList+: not automatic, lame interface.
  48.   - DiskCat: not automatic, few features.
  49.  
  50. Installation
  51.   Disk Wizard requires System 7 or later. It has been tested with systems 7.0, 7.1 and 7.5. It will take advantage of the Macintosh Drag and Drop extension (which is built into System 7.5, but can also be installed on a Mac running 7.1). If present, it will also use Aladdin's StuffIt™ Engine, which is bundled with DropStuff™.
  52.  
  53.   The Disk Wizard application is a fat binary: it will run at its best on 68k Macs as well as Power Macs.
  54.  
  55.   Installing is easy: just put Wizard INIT into your Extensions folder. It will become active after you reboot your Mac. The Disk Wizard application can go anywhere on your disk; I suggest that you place an alias to it in your Apple Menu for quick access.
  56.  
  57.   Note: installing the Wizard INIT is optional. The INIT is necessary if you want your disks to be scanned automatically upon ejection. If you don't want this feature, you can still use Disk Wizard as a regular disk cataloger without installing the INIT.
  58.  
  59.   Note to users of Disk Wizard 1.0.x: version 2.0 can use your existing disk library without change. Just leave the existing "Wizard's Library ƒ" folder alone (it's in your Preferences folder) and version 2.0 will use it. Do *not* delete it! You can however, destroy the old preferences file, since it will be ignored by version 2.0.
  60.   Version 2.0 has new icons; you should rebuild your desktop in order to make them appear if you used a previous version.
  61.  
  62. Automatic cataloguing
  63.   The next paragraph assumes that Disk Wizard is set up to catalog your disks automatically. See the section about Preferences for details about the settings.
  64.  
  65.   Every time you eject a disk, the Wizard notices it and scans its contents before ejecting it (fixed disks are scanned when the machine is shut down or restarted). It records the data into a special folder located within your Preferences folder. You will notice that ejecting a disk takes longer than before; the more files there are on the disk, the longer. Disk Wizard recognizes disks based on their name only: you must ensure that every disk has a unique name. If two disks have the same name Disk Wizard will think they're the same disk. The simplest way is to use numbers as (part of) disk names.
  66.  
  67. Here are a few things you should know:
  68. • You can define a modifier key combination which will force Disk Wizard to ignore the disk being ejected. The catalog data won't be updated, but you will gain time. See the section about Preferences for more detail.
  69. • By default, Disk Wizard records its data into a folder named "Wizard's Library ƒ" and located inside your Preferences folder. If you want the data to be put elsewhere, you should move this folder somewhere else and put an alias to it in its place. The alias should be named "Wizard's Library ƒ" too so that Disk Wizard can find it. You should avoid typing this name; instead, copy and paste the existing folder's name.
  70. • The disk won't be scanned if its contents weren't modified since you last inserted it. Note that opening/closing Finder windows causes the Finder to write some information to the disk, which causes the disk to be scanned again.
  71. • If you rename a disk, Disk Wizard notices it and renames the corresponding entry in its catalog. If the new disk name is one which you don't want to be scanned (see "Which volumes to ignore" below), then the entry is deleted.
  72. • If you eject disks (causing them to be scanned again) while Disk Wizard is open, it will notice it and update its display in the next few seconds.
  73.  
  74. Using Disk Wizard
  75.  
  76. Window interface
  77.   When you launch the Disk Wizard application, it reads the catalog data, which is stored on your hard disk, and displays it. The main window, called "Desktop", displays the list of all volumes. It is analogous to the Finder's Desktop. You can display a volume's contents by double-clicking it (or selecting Open from the File menu).
  78.  
  79.   Disk Wizard displays data in a way similar to the Finder's. Each volume or folder has its own window, which you can reveal by double-clicking or selecting Open from the File menu. Folders have a triangle control left of their name, which allows you to reveal or collapse their contents. Unlike Finder windows, Disk Wizard windows will adjust their size automatically when you change a triangle's state.
  80.  
  81.   If you click in a window title while holding the command key, you will see a popup menu showing the enclosing folders, as in the Finder. Selecting an item from this menu will display the appropriate window.
  82.  
  83.   The list displayed by any window can be sorted according to the data contained in any column. To change the sorting criterion, just click on the column name. You can also sort down by option-clicking a column name. The active sorting criterion is underlined.
  84.   You can sort according to several criterions by sorting first according to the minor one, and then sorting according to the major one.
  85.  
  86.   You can choose to hide certain columns. See the Preferences section for details.
  87.  
  88.   The Windows menu keeps a list of all the currently open windows, for quick access.
  89.  
  90. Keyboard shortcuts
  91.  
  92.   The key shortcuts are modeled after the Finder's. If you are a Finder power user, they should seem very intuitive.
  93.  
  94.   In every window, you can select items by clicking on them. Shift-clicking selects a range, and command-clicking adds or removes a single line to/from the current selection. Note that although this is the recommended behavior, it is slightly different from the Finder's.
  95.  
  96.   Holding down the Option key while opening a window will close the previous one in addition.
  97.  
  98.   The Up and Down arrow keys move the selection up and down, respectively. The Page Up and Page Down keys scroll the window up and down.
  99.  
  100.   Items can be selected by typing in the first few letters of their name. Typing Tab will select the next item alphabetically, and typing Shift-Tab will select the previous one.
  101.  
  102. Menus
  103.  
  104.   The File menu contains important commands. Open reveals the contents of a disk or folder. Quit justs quits Disk Wizard, of course. Other commands are described later on, in a section of their own.
  105.  
  106.   The Edit menu contains miscalleous commands. Cut, Copy, Paste and Clear let you edit text (when a dialog with a text field is active). Select All selects all lines in the frontmost window. Select Category is available only when the Desktop window is frontmost; it selects all volumes with the specified category (assuming that you have defined categories for your volumes using Volumes:Change Category).
  107.   Finally, Copy author's address lets you copy my addresses to the clipboard : Internet, World Wide Web or Snail Mail address.
  108.  
  109.   The Volumes menu is active when you have selected volumes in the Desktop window. Selecting Forget clears all selected volumes from the database. A confirmation dialog will appear first; you can bypass it by holding the Option key when choosing Forget. The Backspace key is an equivalent for the Forget command.
  110.   The Change category command lets you change the contents of the Category field for the selected volumes. You can put anything in there; this field is here to help you sort your disks. You can either directly select an existing category from the menu, or choose Other... If you choose the latter, a small dialog box appears; you can either type in a new category, or use the popup menu to select an existing category.
  111.  
  112.   The Items menu is active when you have selected files in a folder window.
  113.   The Select in Finder command will bring the Finder to the front and make it display the selected files. It will ask you to insert the right disk first if necessary. This feature is very useful to quickly locate relevant files without digging into the folder hierarchy by hand. Hitting Return or Enter will have the same effect.
  114.   The Fetch command will copy the selected files or folders from the disk to a place which you specify. When you select this menu, Disk Wizard first asks you to select a destination folder; then, it asks you to insert the right disk, if necessary. Finally, it copies the selected items. Hitting Option-Return or Option-Enter has the same effect as Fetch.
  115.  
  116.   The Search Results menu is active when a Search Results window is frontmost. The Display in own window command displays the folder window(s) containing the selected matches (you can also double-click or use Open). The Compute full path command computes full paths for the selected matches and displays them in the Location column (you can also hit Enter).
  117.   Why are full paths not automatically computed? This is because they take a lot of space in memory, and a lot of screen real estate. Hence, when a Search Results window is created, the Location column contains just the volume name. You can use the Compute full path command to get full paths for the items that look interesting to you. As I said, full paths take up a lot of memory; don't try to compute the full paths for thousands of matches!
  118.  
  119. More about fetching files
  120.  
  121.   Speed: 
  122.   Using Fetch is recommended over using Select in Finder and then copying files by hand. This is because Disk Wizard copies files much faster than the Finder; also, it can expand compressed archives on the fly (see below).
  123.  
  124.   Drag and Drop support: 
  125.   If you have System 7.5 (or 7.1 with the Macintosh Drag and Drop extension and Finder 7.1.3), then you can drag files from a Disk Wizard window and drop them somewhere in the Finder. This has the same effect than using Fetch, but it's much handier.
  126.   Drag and Drop alone is a sufficient reason to upgrade to System 7.5. It's soooo cool!
  127.  
  128.   Subtleties about compressed files: 
  129.   If you try to fetch files whose name is displayed in italics (i.e. files contained inside a compressed archive), Disk Wizard will copy the whole compressed archive instead, because it can't decompress the individual files you need.
  130.   However, if you have installed Aladdin's StuffIt™ Engine into your Extensions folder, then Disk Wizard will be able to decompress StuffIt 3.0 archives on the fly. If you fetch (or drag to the Finder) files contained within an archive, then these files will be extracted out of the archive. Note that the whole archive is not decompressed; only the files you need are. [Note to version 1.0.x users: this feature is enabled only if the disk has been scanned with Disk Wizard version 2.0 or later].
  131.   Also, when fetching a StuffIt 3.0 archive, you have a choice between simply copying it, or decompressing it instead (see the section about preferences).
  132.  
  133. Scanning disks from the Disk Wizard application
  134.  
  135.   If the Wizard INIT is installed, disks will be scanned automatically when you eject them (hard disks will be scanned when the Mac is shut down). However, you can also initiate a scan by using the Scan command from the File menu. You will be prompted to choose a volume, which will then be scanned.
  136.   It is possible to stop a scanning operation by clicking on Abort or hitting the Escape key. However, doing so will delete all information about this disk from the library.
  137.  
  138.   You can also scan disks by dropping them onto Disk Wizard's icon in the Finder.
  139.  
  140.   If you want to scan many disks at once, you can use the Fast Scan command. A modal dialog will appear; any disks that you insert will be scanned and ejected. This lets you scan quickly a whole pile of disks.
  141.   The Fast Scan dialog also lets you rename your disks easily. If you type a new name in the first text field, it will be used to rename the next disk. Disk Wizard is smart: if you have many disks, it knows you don't want to give the same name to all of them. So if the name you have typed ends with a number, Disk Wizard will automatically increment this number after scanning a disk. Assuming you have typed 'Disk 01', the first disk you insert will be renamed to 'Disk 01', the second to 'Disk 02', and so on.
  142.   Finally, the Fast Scan dialog lets you assign a category to the disks you're scanning: just type in a category, or select an existing one from the popup menu.
  143.   When you're done scanning disks, click the Done button to exit the Fast Scan mode.
  144.  
  145. Searching
  146.   Select Find from the File menu to bring the Search dialog to the front. This dialog looks like the Finder's Find dialog.
  147.   First, you have to specify what to search for. There's a text field which allows you to enter a search string. The Case sensitive check box specifies whether case differences should be taken into account when searching. The first popup menu (does/does not) allows you to apply a logic NOT to the search criterion. Finally, the second popup menu lets you specify whether the search string should be equal to the file name (match exactly), or be a part/the beginning/the end of it. The match pattern setting is for advanced users; it allows you to specify a regexp (regular expression) against which the file name should be matched. Regular expressions are described at the end of this file.
  148.   Then, you must specify where to search. A popup menu lets you choose between all volumes, only the volumes selected in the Desktop window, or just the frontmost folder window (if there is one).
  149.   Once you have chosen your search criterion, click Find (or hit the Return key) to start searching. Disk Wizard displays a progress dialog while it conducts the search; you can switch to another application, and the search will take place in the background.
  150.   When it's done, Disk Wizard displays all matches in a window called Search Results. The results can be sorted by clicking (or option-clicking) on a column heading; this lets you easily find the particular match you are looking for. Double-clicking any item of the results window (or hitting Return or Enter) will take you to the folder window containing this item.
  151.  
  152.   Note: a more advanced way of specifying the search criterion is desirable. I have delayed it until a future release in order to get 2.0 out more quickly.
  153.  
  154. Searching for duplicates
  155.  
  156.   Disk Wizard lets you look for duplicate files. Select Search for Duplicates from the File menu to initiate a search.
  157.   A dialog appears and asks you to specify a few settings. First, a popup menu lets you choose where to look: on all volumes or only on the selected volumes.
  158.   Important note: Disk Wizard's algorithm to find duplicates is very fast, but also very memory-hungry. If it tells you that it has run out of memory, try reducing the number of volumes included in the search. You can also try quitting other applications.
  159.   Next, you must tell Disk Wizard what conditions should be met by two files in order to be considered as duplicates. By default, they should have the same name, type, creator and creation date. Feel free to change these settings if you want the conditions to be more or less strict.
  160.  
  161.   Once you have chosen these settings, hit the OK button. Disk Wizard then conducts the search. The results are displayed in a Search Results window. Groups of duplicate files are displayed together and separated with dashed lines. As usual, double-clicking an item in the results window will reveal the folder window it belongs to.
  162.  
  163. Preferences
  164.   Selecting Preferences from the File menu brings up the Preferences dialog. It is divided into several sections; use the popup menu at the top of the dialog to display the section you need.
  165.  
  166.   Note to version 1.0.x users: the format of the preferences file has changed in version 2.0. You should delete your old preferences file.
  167.  
  168.   Which volumes to ignore:
  169.   You can choose not to scan certain volumes, based on their names. The dialog allows you to specify a list of conditions. They are connected by an implicit OR, that is, any volume whose name fulfills at least one of the conditions will be ignored.
  170.   Use the two popup menus and the text field at the bottom of the dialog to specify a new condition and click Add condition to add it to the list. The other button, Remove condition, lets you remove conditions from the list.
  171.   This feature is useful to avoid cataloging disks whose contents are not of interest to you. For instance, you could specify that all disks whose name starts with "Temp" are to be ignored.
  172.   The name comparison is case-insensitive.
  173.  
  174.   Which files to ignore:
  175.   This works exactly like volumes to ignore. Any file or folder whose name fills one of the condition you specify here will be ignored when scanning disks. This lets you ignore common and uninteresting files such as Desktop, Desktop DB, Desktop DF, VM Storage, AppleShare PDS, Trash, etc.
  176.   Note: if you are trying to prevent custom folder icons to be scanned, keep in mind that these files are actually named "Icon\r", that is, "Icon" followed by a carriage return.
  177.   Note that the files will be ignored when the disk is scanned, as opposed to when the data is displayed. This means that changing the preferences has no effect on the existing disk library; only disks scanned afterwards will be affected.
  178.  
  179.   Which drives to scan:
  180.   These settings are also intended to let Disk Wizard knows which disks to scan. This time, it isn't based upon their names, but rather upon their type (floppy, CD, SyQuest, etc.)
  181.   The dialog displays a list of currently connected drives. Disk Wizard knows about two kinds of drives : floppy drives and SCSI drives (let me know if you have drives that do not fit into one of these categories).
  182.   You can use the Scan and Don't scan buttons to tell Disk Wizard which drives are of interest to you. A mark (√) is displayed in front of a drive if it is to be scanned. The Rebuild drive list button tells Disk Wizard to update the drive list, in case some drives have been added or disconnected.
  183.  
  184.   Modifier keys upon ejection:
  185.   This section lets you define a set of modifier keys which will prevent a disk from being scanned if they are pressed when you eject it. By default, the settings say "the option should be up", which means that pressing the option key will prevent disks from being scanned again upon ejection.
  186.  
  187.   Handling compressed archives:
  188.   The first two check boxes let you tell Disk Wizard whether StuffIt 3.0 and Compact Pro should be scanned. If you choose to scan them, these archives will look like folders in the displayed hierarchy. Files contained within an archive are displayed in italics to show that they don't actually exist on the disk.
  189.   The ability to scan compressed archives is a vital feature, I think; however, by turning it off, you will save time (scanning will be faster) and hard disk space (the catalog files will be smaller).
  190.   StuffIt 1.5.1 archives are not supported, because this format is now obsolete. Compact Pro archives are recognized; however, the best format is StuffIt 3.0, since Disk Wizard can decompress it on the fly (provided that you have installed Aladdin's StuffIt™ Engine).
  191.  
  192.   Views:
  193.   This section lets you choose the font and size for all windows. Also, it lets you show or hide certain columns at will. For instance, I think that creation and modification dates for volumes aren't useful and clutter the screen, so I hide them.
  194.  
  195. Statistics window
  196.   Selecting Statistics from the Windows menu will bring up a small window with a few figures.
  197.   It tells you the amount of free memory allotted to Disk Wizard, the amount of System memory used by Disk Wizard (since he's smart enough to steal some from the System when needed), and the amount of remaning System memory. (What I call System memory here is temporary memory, aka Multifinder memory - not the System Heap).
  198.   Also, the windows displays the number of disks Disk Wizard knows about, and the total numbers of files and folders on them (including files contained inside compressed archives).
  199.  
  200. Disclaimer
  201.   This software is Copyright ©1994, 1995 by François Pottier, all rights reserved. I have made a great effort to ensure that it is bug free, but there is no such thing as perfect sofware. I make no warranty whatsoever, either implied or express, as to its correct functioning. When using this software, the user assumes all responsibility for any damages caused, directly or indirectly, by its use.
  202.  
  203. Distribution
  204.   You may copy and give away this software freely, as long as you distribute the package as a whole, under its original form. You may include it in CD-ROMs or other shareware collections, provided that acquiring the collection doesn't remove the user's obligation to register the software.
  205.  
  206.   Distribution of beta versions is prohibited - make sure you a have a public release (i.e. there is no 'b' in the version number) before giving Disk Wizard away.
  207.  
  208.   If, after a reasonable trial period, you wish to keep it, you must register it. See the separate file "How to register" for registering information.
  209.  
  210. Version History
  211. 2.0b1 [Not released]:
  212.   Too many improvements to be listed here. The package was rewritten from scratch.
  213. 2.0b2 [Not released]:
  214.   New icons.
  215.     No longer asks you to re-insert ejected disks on shutdown.
  216.   Displays an alert when no matches are found.
  217.   Doesn't scan SCSI drives by default.
  218.   Displays small icons inside hierarchy popup menus.
  219.   Displays the full path of found items in search results windows (on demand).
  220.   Column titles act more like buttons.
  221.   Added an Unselect All command.
  222.   When you stop a search, matches found so far can be displayed.
  223.   Scanning operations initiated within the application can be aborted.
  224.   Fixed two bugs which caused address errors on Classics (those evil dwarves :-)
  225.   Fixed a bug which would cause the Finder to report it had run out of memory.
  226.   Fixed a bug which would prevent the app from updating its data in real time on Power Macs.
  227.   Name comparison is case-insensitive when checking whether a disk should be ignored.
  228.   Renaming a disk to an ignored name (e.g. "Untitled") deletes its entry.
  229. 2.0b3 [Not released]:
  230.   Files can now be ignored during scanning, based on their name (see Preferences).
  231.     Added "match exactly" option to specify conditions on file/volume names more easily.
  232.   Volume names are shown by default in the Location column of Search Results windows.
  233.   More information is shown together with SCSI IDs in the Preferences window.
  234.   Disks ejected via Cmd-Shift-1 are now correctly scanned.
  235.   Modified the Change Category menu to allow direct access to existing categories.
  236. 2.0b4 [Not released]:
  237.   Fixed incorrect display in "Which volumes/files to scan" panels.
  238.   Disks with no files don't cause crashes any more.
  239.   The Desktop window displays the number of items Disk Wizard knows about instead of the total number of files.
  240.   Fixed a bug which would cause the Desktop window to disappear off the screen.
  241.   The Desktop window remembers how the disks are sorted across invocations of the program.
  242.   God rid of the little arrow next to column titles. Option-clicking still sorts down.
  243. 2.0 :
  244.   Made some fixes in the code that searches for duplicates. Memory leaks and type 28 errors should be gone.
  245.   INIT icon correctly goes to the second row when the first row has been filled.
  246.   No more crashes when fetching a fetching a file from one floppy to another. Still, it isn't recommended.
  247.   Command-option-W closes all windows but the Desktop window.
  248.   (Tried to) fix bug which would prevent the About box from giving back control to the user.
  249.  
  250. Planned Improvements
  251.  
  252. Among the improvements planned for the next major release are:
  253.   - A more powerful search dialog
  254.   - Better memory handling to get more speed and safety.
  255.   - A real offline Finder: file deletion, copy between windows and from Finder windows to Disk Wizard windows.
  256.   - A French version. I'll work on it as soon as 2.0 stabilizes.
  257.   - And lots of little details...
  258. Some of the improvements listed above require rewriting a good half of the code, so it is going to take some time...
  259.  
  260. Among the improvements *not* currently planned are:
  261.   - Printing catalogs. I don't have a printer (student budget). You can print exported files using another program.
  262.  
  263. Feel free to suggest improvements or report bugs!
  264.  
  265. Acknowledgements
  266. Thanks to...
  267.   Jim Luther of DTS for the MoreFiles library.
  268.   Marco Piovanelli for showing me how to display icons in a popup menu.
  269.   Leonard Rosenthol and Aladdin for the StuffIt Engine interface.
  270.   Henry Spencer at U of T for the regexp code.
  271.  
  272.   All the beta testers who took the time to send detailed reports and suggestions.
  273.  
  274. ... and everybody who registered! Thanks to you shareware is a cool hobby!
  275.  
  276. Appendix: Regular expression syntax
  277.  
  278.   Here's the definition of a regular expression. This is intended as a reminder, not an explanation; it will be somewhat steep if you never heard about regexps before.
  279.   A regular expression (sometimes called pattern) is a condensed representation of a set of strings. The strings in this set are said to be matches for the regular expression ; others are said to be rejected by the regexp. For instance, the regular expression '\.c$' matches all strings ending in '.c'.
  280.  
  281.   A regular expression is zero or more branches, separated by `|'.  It matches anything that matches one of the branches.
  282.  
  283.   A branch is zero or more pieces, concatenated.  It matches a match for the first, followed by a match for the second, etc.
  284.  
  285.   A piece is an atom possibly followed by `*', `+', or `?'. An atom followed by `*' matches a sequence of 0 or more matches of the atom.  An atom followed by `+' matches a sequence of 1 or more matches of the atom.  An atom followed by `?' matches a match of the atom, or the null string.
  286.  
  287.  An atom is a regular expression in parentheses (matching a match for the regular expression), a range (see below), `.' (matching any single character), `^' (matching the null string at the beginning of the input string), `$' (matching the null string at the end of the input string), a `\' followed by a single character (matching that character), or a single character with no other significance (matching that character).
  288.  
  289.   A range is a sequence of characters enclosed in `[]'.  It normally matches any single character from the sequence.  If the sequence begins with `^', it matches any single character not from the rest of the sequence.  If two characters in the sequence are separated by `-', this is shorthand for the full list of ASCII characters between them (e.g. `[0-9]' matches any decimal digit).  To include a literal `]' in the sequence, make it the first character (following a possible `^').  To include a literal `-', make it the first or last character.
  290.